package cn.kgc.crowdfundingadmin.service;

import cn.kgc.crowdfundingadmin.pojo.Auth;

import java.util.List;
import java.util.Map;

public interface AuthService {

    public List<Auth> getAllAuth();
    //根据角色查询权限id
    public List<Integer> getAssignedAuthIdList(Integer roleId);

    //分配权限
    public void updateRelationShipBetweenRoleAndAuth(Map<String, List<Integer>> assignDataMap);
}
